package com.example;

import com.example.entity.User;

import java.util.List;

public interface UserRepository {
    User findByUsername(String username);
    boolean addUser(User user);
    boolean deleteUser(String username);
    List<User> getAllUsers();
    boolean registerUser(String username, String password, String email, UserRole role);
}